import request from '@/router/axios';

export const getServiceDetail = (id) => {
    return request({
      url: '/api/rb-oem/oem/serviceInfo/service_info/serviceDetail',
      method: 'get',
      params: {
        id
      }
    })
  }

  export const updateStatus = (data) => {
    return request({
      url: '/api/rb-oem/oem/serviceInfo/service_info/updateStatus',
      method: 'post',
      data
    })
  }

  export const changeRecordList = (current, size, params) => {
    return request({
      url: '/api/rb-oem/oem/serviceInfo/service_info/changeRecordList',
      method: 'get',
      params: {
        ...params,
        current,
        size
      }
    })
  }
  